-- GENERATED SPELL FOR [Mistwhisper Oracle] --


function spell0_28110(pUnit, Event) --@Lightning Cloud,Self--
pUnit:FullCastSpellOnTarget(54921,pUnit)
pUnit:RegisterEvent('Sorts_28110', 651, 1)
end

function Sorts_28110(pUnit, Event)
local choix_sorts_28110 = math.random(0, 0)
if choix_sorts_28110 == 0 then
pUnit:RegisterEvent('spell0_28110', 1, 1)
end
end

function mob28110_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28110', math.random(1500, 3000), 1)
end

function mob28110_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28110_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28110_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28110, 1, 'mob28110_Action')
RegisterUnitEvent(28110, 2, 'mob28110_Leave')
RegisterUnitEvent(28110, 3, 'mob28110_Kill')
RegisterUnitEvent(28110, 4, 'mob28110_Die')
